package com.juyu.miliao.api.dao.mysql;


import com.juyu.miliao.api.domain.RobotMessage;
import org.apache.ibatis.session.SqlSession;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public class RobotMessageDao {
    @Autowired
    private SqlSession sqlSession;

    public List<RobotMessage> findAllRobotMessage() {
        return sqlSession.selectList("findAllRobotMessage");
    }

}
